package com.peas.platform.module.icims.contract.initial.dto;

import com.peas.platform.common.core.annotation.Comment;
import com.peas.platform.common.core.dto.BaseDto;
import com.peas.platform.framework.mybatisplus.annotation.Condition;
import com.peas.platform.framework.mybatisplus.annotation.ConditionOperator;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.math.BigDecimal;
import java.util.Date;

// 初始合同付款信息
@Data
@EqualsAndHashCode(callSuper = false)
public class ContractInitialPayDto extends BaseDto {

    // 合同ID
    // 【初始合同表】
    @Comment(value = "合同ID")
    private Long contractInitialId;

    // 付款批次号
    @Comment(value = "付款批次号")
    @Condition(operator = ConditionOperator.IN)
    private String batchNo;

    // 付款条件
    @Comment(value = "付款条件")
    private String condition;

    // 约定收款金额
    @Comment(value = "约定收款金额")
    private BigDecimal amount;

    // 金额占比
    @Comment(value = "金额占比")
    private BigDecimal amountRate;

    // 预计付款时间
    @Comment(value = "预计付款时间")
    private Date payeeTime;

    // 收款单位
    @Comment(value = "收款单位")
    private String payeeCompany;

    //Criteria
    private Date createTimeStart;
    private Date createTimeEnd;
    private Date updateTimeStart;
    private Date updateTimeEnd;
    private Date payeeTimeStart;
    private Date payeeTimeEnd;
}
